package com.jv.spring.nestedclass.scan;

import com.jv.spring.ignore.scan.IgnoreDept;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;


@Component
//@Named
@Getter
@Setter
@Scope(proxyMode = ScopedProxyMode.INTERFACES)
public class NestedUser{
	@Value("${name}")
	private String name;

	@Value("${age}")
	private Integer age;
}
